#!/bin/sh

echo "devs_service_start"
/bin/mount -t ext4 /dev/mmcblk0gp0 /storage
/bin/mount -t ext4 /dev/mmcblk0gp1 /userdata
/bin/mount -t ext4 /dev/mmcblk0gp2 /sdcard
/bin/mount -o remount,rw /
/bin/mkdir -p /dev/shm
/bin/mkdir -p /var/log/audit

/bin/ln -sf /proc/self/fd /dev/fd
/bin/ln -sf /proc/self/fd/0 /dev/stdin
/bin/ln -sf /proc/self/fd/1 /dev/stdout
/bin/ln -sf /proc/self/fd/2 /dev/stderr

echo 0 9999999 > /proc/sys/net/ipv4/ping_group_range

echo "devs_service_end"
